package com.atXiao.food.dao;

import com.atXiao.food.entity.UserHistoryWithUserId;
import com.atXiao.food.entity.UserhistoryEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 用户浏览历史表
 * 
 * @author lxx
 * @email 1914264274@qq.com
 * @date 2023-11-22 21:39:33
 */
@Mapper
public interface UserHistoryDao extends BaseMapper<UserhistoryEntity> {

     /**
      * 通过用户编号查询用户的浏览记录
      * @param userId
      * @return
      */
     List<UserHistoryWithUserId> getUserHistoryWithUserId(String userId);
	
}
